package com.jinxiangyang.domain;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 *
 * @TableName student
 */
@TableName(value ="student")
@Data
public class Student implements Serializable {
    /**
     * 学生id
     */
    @TableId(value = "id")
    private Long id;

    /**
     * uid
     */
    @TableField(value = "uid")
    private Long uid;

    /**
     * 真实姓名
     */
    @TableField(value = "rel_name")
    private String relName;

    /**
     * 备注
     */
    @TableField(value = "remarks")
    private String remarks;

    /**
     * 专业
     */
    @TableField(value = "specialized")
    private String specialized;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     *
     */
    @TableField(value = "is_delete")
    @TableLogic
    private Integer isDelete;

    /**
     * 学习时间(秒)
     */
    @TableField(value = "stuty_time")
    private Long stutyTime;

    /**
     * 积分
     */
    @TableField(value = "sorce")
    private Long sorce;

    /**
     * vip
     */
    @TableField(value = "vip")
    private String vip;

    /**
     * 类型
     */
    @TableField(value = "type")
    private String type;

    /**
     * 状态
     */
    @TableField(value = "status")
    private String status;

    /**
     * vip到期时间
     */
    @TableField(value = "vip_end")
    private Date vipEnd;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
